package com.scribbles.article.service;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.scribbles.article.dao.ArticleDAO;
import com.scribbles.common.entity.Article;

@Service
public class ArticleSearchService {
	private Logger logger = Logger.getLogger(ArticleSearchService.class);

	@Autowired
	ArticleDAO articleDAO;
	
	public List<Article> retrieveAllArticles(){
		return articleDAO.findAll();
	}
}
